package com.sinodata.bsm.cicp.finder.network;

import com.sinodata.bsm.cicp.cache.CacheFactory;
import com.sinodata.bsm.cicp.cache.NetWorkCache;
import com.sinodata.bsm.cicp.finder.SnmpFinder;

/**
 * <p>
 * Description: 
 * </p>
 *
 * @author wangpeng
 * @version 1.0

 * <p>
 * History: 
 *
 * Date                     Author         Version     Description
 * ---------------------------------------------------------------------------------
 * 2013-10-9 上午10:54:02          wangpeng        1.0         To create
 * </p>
 *
 * @since 
 * @see     
 */
public abstract class NetWorkFinder extends SnmpFinder {

    private final static NetWorkCache netWorkCache = (NetWorkCache) CacheFactory.getCache(NetWorkCache.class);

    /**
     * 该方法只是用于方便查看定义了那些属性
     * @return
     */
    public abstract String[] getAttributes();

    protected String getCompanyBySysoid(String sysoid) {
        return netWorkCache.getVendorBySysoid(sysoid);
    }
}
